package com.tongshu.naive.chat.infrastructure.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.tongshu.naive.chat.infrastructure.po.ChatRecord;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

public interface IChatRecordDao extends BaseMapper<ChatRecord> {
    void appendChatRecord(ChatRecord chatRecord);

    List<ChatRecord> queryUserChatRecordList(String talkId, String userId);

    List<ChatRecord> queryGroupsChatRecordList(String talkId, String userId);
}
